﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.Web
{
    public interface IHeaderPanel
    {
        event LogoffEventHandler Logoff;

        void Initiate(IEnumerable<Shortcut> shortcuts, List<Site> applications, Site currentApplication, User loginUser);
    }

    public class LogoffEventArgs : EventArgs
    {
        public User User { get; private set; }
        public LogoffEventArgs(User user)
        {
            User = user;
        }
    }

    public delegate void LogoffEventHandler(object sender, LogoffEventArgs e);

}
